package com.hexb.smh.service;

import com.hexb.core.common.Page;
import com.hexb.smh.entity.LoginLog;
import com.hexb.smh.entity.OperationLog;
import com.hexb.smh.entity.param.log.LoginLogQueryParam;
import com.hexb.smh.entity.param.log.OperationLogQueryParam;
import com.hexb.smh.entity.view.LoginLogView;
import com.hexb.smh.entity.view.OperationLogView;

/**
 * @author : hexb
 */
public interface IOperationLogService {

    int save(OperationLog ol);

    Page<OperationLogView> search(OperationLogQueryParam param, int pageSize, int pageNum);

    int save(LoginLog log);

    Page<LoginLogView> search(LoginLogQueryParam param, int pageSize, int pageNum);
}
